﻿using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace B.S.PrimaryProject.API.Dtos
{
    public class UserDto
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPwd { get; set; }
        /// <summary>
        /// 性别
        /// 0 男
        /// 1 女
        /// 2 保密
        /// </summary>
        public int UserSex { get; set; }
        /// <summary>
        /// 所属部门ID
        /// </summary>
        public int DeptId { get; set; }
        /// <summary>
        /// 所属角色ID
        /// </summary>
        public int RoleId { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>

        public string UserPhone { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>

        public string UserEmail { get; set; }
        /// <summary>
        /// 用户状态
        /// 0 正常
        /// 1 禁用
        /// </summary>

        public int UserStatus { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>

        public DateTime CreateTime { get; set; } = DateTime.Now;

    }
}
